/**
 * 
 */
package ar.uba.fi.algo3.titiritero.vista;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;

import ar.uba.fi.algo3.titiritero.ControladorJuego;

/**
 * @author palaciof
 *
 */
public class KeyPressController extends KeyAdapter {
	
	private ControladorJuego controlador; 
	
	public KeyPressController(ControladorJuego unControlador) {
		this.controlador = unControlador;
	}
	
	public void KeyPressed(KeyEvent event){
		this.controlador.despacharKeyPress(event);
	}
	

}
